//
//  BookingNoticeViewController.m
//  homeland
//
//  Created by SunShine on 13-12-4.
//  Copyright (c) 2013年 xzysun. All rights reserved.
//

#import "BookingNoticeViewController.h"
#import "WetLandBookingOrderViewController.h"
@interface BookingNoticeViewController ()


@end

@implementation BookingNoticeViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.title = @"预定须知";
    int height = iPhone5 ? 0 : 88 ;
    //生成底部按扭
    UIButton *postBtn = [[UIButton alloc] initWithFrame:CGRectMake(0, 460 - height, 320, 44)];
    [postBtn setBackgroundImage:[UIImage imageNamed:@"btnImage.png"] forState:0];
    [postBtn setTitle:@"下一步" forState:0];
    [postBtn addTarget:self action:@selector(nexBtnAction) forControlEvents:64];
    [self.view addSubview:postBtn];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



- (void)nexBtnAction {
    
                WetLandBookingOrderViewController *orderVC = [[WetLandBookingOrderViewController alloc] initWithNibName:@"WetLandBookingOrderViewController" bundle:nil];
                orderVC.ticketsList = self.ticketsList;
                [self.navigationController pushViewController:orderVC animated:YES];
}
@end
